package com.jiangore.service;

import com.jiangore.entity.Member;

import java.util.List;

/**
 * @TODO
 * @Author jiangtao
 * @Date 2020-03-08 10:08 PM
 * @Update By jiangtao
 * @Version v1.0
 */
public interface IMemberService {

    Member selectById(Integer id);

    Member findByAccount(String account);

    Member findByEmail(String email);

    Member findByMobile(String mobile);

    List<Member> selectAll(int pageNum, int pageSize);

    int insert(Member m);

    int update(Member m);

    int delete(int id);

}
